﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    class CheckReportModel
    {

    }


    /// <summary>
    /// 体检报告列表查询请求类
    /// </summary>
    public class CheckReportListRequestModel
    {
        /// <summary>
        /// 体检编号
        /// </summary>
        public string checkcode { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string idcard { get; set; }
    }

    /// <summary>
    /// 体检综检建议查询请求类
    /// </summary>
    public class CheckAdvicesListRequestModel
    {
        /// <summary>
        /// 体检编号
        /// </summary>
        public string checkcode { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string idcard { get; set; }
    }

    /// <summary>
    /// 体检报告列表查询返回类
    /// </summary>
    public class CheckReportListResponseModel
    {
        /// <summary>
        /// 报告单列表
        /// </summary>
        public List<CheckReportListItemResponseModel> reportlist { get; set; }
    }

    /// <summary>
    /// 体检报告列表查询返回明细类
    /// </summary>
    public class CheckReportListItemResponseModel
    {
        /// <summary>
        /// 体检编号
        /// </summary>
        public string checkcode { get; set; }
        /// <summary>
        /// 项目编号
        /// </summary>
        public string icheckgroupno { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string cgroupname { get; set; }
        /// <summary>
        /// 小结
        /// </summary>
        public string cdeptnode { get; set; }
        /// <summary>
        /// 检查时间
        /// </summary>
        public string dbodycheckdate { get; set; }
        /// <summary>
        /// 检查医生
        /// </summary>
        public string cdoctorname { get; set; }
        /// <summary>
        /// 体检报告ID
        /// </summary>
        public string ienrolapplyno { get; set; }
    }

    /// <summary>
    /// 体检报告明细查询请求类
    /// </summary>
    public class CheckReportDetailRequestModel
    {
        /// <summary>
        /// 体检报告ID
        /// </summary>
        public string ienrolapplyno { get; set; }
    }

    /// <summary>
    /// 体检报告明细查询返回类
    /// </summary>
    public class CheckReportDetailResponseModel
    {
        /// <summary>
        /// 检查报告ID
        /// </summary>
        public string ienrolapplyno { get; set; }
        /// <summary>
        /// 体检项目编号
        /// </summary>
        public string icheckgroupno { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string cgroupname { get; set; }
        /// <summary>
        /// 报告单列表
        /// </summary>
        public List<CheckReportDetailItemResponseModel> detail { get; set; }

    }

    /// <summary>
    /// 体检报告明细查询返回明细类
    /// </summary>
    public class CheckReportDetailItemResponseModel
    {

        /// <summary>
        /// 体检小项编号
        /// </summary>
        public string icheckitemno { get; set; }
        /// <summary>
        /// 检查项目名称
        /// </summary>
        public string ccheckitemname { get; set; }
        /// <summary>
        /// 检查结果
        /// </summary>
        public string cresult { get; set; }
        /// <summary>
        /// 结果标志
        /// </summary>
        public string cresultflag { get; set; }
        /// <summary>
        /// 参考范围
        /// </summary>
        public string cbount { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string cunit { get; set; }
    }

    /// <summary>
    /// 体检综检建议查询返回类
    /// </summary>
    public class CheckAdvicesDetailResponseModel
    {
        /// <summary>
        /// 体检编号
        /// </summary>
        public string checkcode { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string cpatientname { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string ctel { get; set; }
        /// <summary>
        /// 体检人单位
        /// </summary>
        public string cworkunit { get; set; }
        /// <summary>
        /// 综检医生姓名
        /// </summary>
        public string cdoctorname { get; set; }
        /// <summary>
        /// 综检日期
        /// </summary>
        public string dadvicedate { get; set; }
        /// <summary>
        /// 报告单列表
        /// </summary>
        public List<CheckAdvicesDetailItemResponseModel> detail { get; set; }

    }

    /// <summary>
    /// 体检综检建议查询返回明细类
    /// </summary>
    public class CheckAdvicesDetailItemResponseModel
    {
        /// <summary>
        /// 综检标题
        /// </summary>
        public string cdiag { get; set; }
        /// <summary>
        /// 综检描述
        /// </summary>
        public string cadvices { get; set; }
    }


    /// <summary>
    /// 体检报告列表查询请求类
    /// </summary>
    public class SieafInitRequestModel
    {
        /// <summary>
        /// 地址
        /// </summary>
        public string addr { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public int port { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string servletEntry { get; set; }
    }
    public class SieafInitResponseModel
    {
        /// <summary>
        /// 返回编码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        public InitResult result { get; set; }
    }

    public class InitResult
    {
        /// <summary>
        /// SieafInitResult
        /// </summary>
        public int initres { get; set; }
    }
}
